package mongoDB

import com.typesafe.config.Config

import scala.util.Try

/**
  * Created by liuwei on 2017/8/11.
  */
object MongoDBTest  {

  def main(args: Array[String]): Unit = {
    val cols = Array("features","prediction")
    println(cols.toString)
//    val mongoClient = inject[MongoClient]
//    val config = inject[Config]
//    private def getDatabase = mongoClient.getDatabase(Try(config.getString("mongo.kmdm.db")).getOrElse("admin"))
  }

}
